package lab01;
import java.util.Scanner;
public class Text06 {
    public static void main(String[] args) {
        Scanner g = new Scanner(System.in);
        int score = g.nextInt();


        String str = "DD";
        if (score == 1) {
            str = "不及格";
        } else if (score == 2) {
            str = "及格";
        } else if (score == 3) {
            str = "中等";
        } else if (score == 4) {
            str = "良好";
        } else if (score == 5) {
            str = "优秀";
        }
        System.out.println("成绩等级为" + str);

        //用switch语句判断成绩
        switch (score) {
            case 1:
                str = "不及格";
                break;
            case 2:
                str = "及格";
                break;
            case 3:
                str = "中等";
                break;
            case 4:
                str = "良好";
                break;
            case 5:
                str = "优秀";
                break;

        }
        System.out.println("成绩等级为" + str);
    }
}

